package com.sicheng.datastruct.stack;

public class StackApp {

    public static void main(String[] args) {
        ArrayStack stack = new ArrayStack(20);
        for (int i = 0; i < 10; i++) {
            stack.push(i+1);
        }

        stack.push('*');
        System.out.println(stack.pop());
        stack.displayStack();
        System.out.println("=========================");
        System.out.println((int)'+');
        System.out.println((int)'-');
        System.out.println((int)'*');
        System.out.println((int)'/');
    }
}
